package com.yuliang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuliang.domain.R;
import com.yuliang.domain.dto.AddUserDto;
import com.yuliang.domain.entity.User;

import java.util.List;


/**
 * 用户表(User)表服务接口
 *
 * @author makejava
 * @since 2023-09-20 11:04:54
 */
public interface UserService extends IService<User> {

    R userInfo();

    R updateUserInfo(User user);

    R register(User user);

    R userPageList(Integer pageNum, Integer pageSize, String userName, String phonenumber, String status);

    R addUser(AddUserDto addUserDto);

    R deleteUser(List<Long> ids);

    R getUserDetail(Long id);

    R updateUser(AddUserDto addUserDto);
}

